home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1996 November
/
Chip 11-96.iso
/
treiber
/
grafik
/
miro
/
crystal
/
cryst8s
/
windows
/
8swin1.exe
/
INSTALL.DAT
< prev
next >
Wrap
Text File
|
1994-10-25
|
36KB
|
872 lines
//*****************************************************************************
// Name : INSTALL.DAT
// Project : Installation miro WINDOWS-BASIC-DISK
// Function : Scriptfile for KDC-wINSTALL
// Author : UD / miro Computer Products AG,
// Carl-Miele-Str. 4, D-38112 Braunschweig
// created : 06.08.93
// changed :
// revision......when...................who.....->.where.and.what..............
// $Log:$
//*****************************************************************************
//*** project header block ****************************************************
@DefineProject
@Name = "miro╖win"
@Version = "2.21"
@OutDrive = @WindowsDrive
@SubDir = "@WindowsDir"
@InDiskBell = 1
@EndProject
//*** define variables ********************************************************
@DefineVars
@QString @mName = "Install disk"
@Integer @Red = @RGB (255,0,0)
@Integer @Green = @RGB (0,255,0)
@Integer @Blue = @RGB (0,0,255)
@Integer @Black = @RGB (0,0,0)
@Integer @White = @RGB (255,255,255)
@Integer @UnInstall = @False
@Integer @OldLang = 0
@Integer @Delay = 0
@Integer @d = 5
@Integer @fflag = 0
@QString @merke = ""
@If (@DirExists ("@WindowsDrive:@WindowsDir\\SYSTEM"))
@Dir @wSysDir = "@SubDir\\SYSTEM"
@Else
@Dir @wSysDir = "@SubDir"
@EndIf
@If (@DriveRemote (@InDrive))
@Integer @IsFloppy = 0
@ElseIf (@Removable (@InDrive))
@Integer @IsFloppy = 1
@Else
@Integer @IsFloppy = 0
@EndIf
@EndVars
//*** input language from user ************************************************
@SetGroup (E)
@OldLang = 1
@SetLang (1)
INPUTLANG:
@GetGroups
@DlgCtrlSize (0,8,20,12,35)
@BackGroundMode (2,,)
@Cls
@If ('D' [= @Group)
Willkommen bei der miro╖win Installation - High speed drivers for Windows
Version @Version
Sprachauswahl:
@Set D = "Deutsch"
@Set E = "English"
@Else
Welcome to the miro╖win installation - High speed drivers for Windows
version @Version
Language selection:
@Set E = "English"
@Set D = "Deutsch"
@EndIf
@EndGroups
@If ('D' [= @Group && @OldLang != 0)
@FlushGroups ()
@SetGroup (D)
@OldLang = 0
@SetLang (0)
//@Goto INPUTLANG
@ElseIf ('E' [= @Group && @OldLang != 1)
@FlushGroups ()
@SetGroup (E)
@OldLang = 1
@SetLang (1)
//@Goto INPUTLANG
@EndIf
//*** define language dependant strings ***************************************
@DefineVars
@If ('D' [= @Group)
@QString @M00 = "Die Installation unterstⁿtzt keine"
@QString @M01 = "Version von Windows vor 3.1 !"
@QString @M10 = "WΣhlen Sie das Board aus, welches Sie installieren wollen:"
@QString @M12 = "Installierte Software komplett entfernen"
@QString @M20 = "WΣhlen Sie mit der Maus die Software aus, die Sie installieren wollen:"
@QString @M22 = "Windows 3.1 Treiber Software"
@QString @M23 = "zusΣtzliche miroWINTOOLS"
@QString @M24 = "miro-Hintergrundbild"
@QString @M30 = "Software entfernen:"
@QString @M31 = "Die installierte Software ist aktiv und kann nicht gel÷scht werden."
@QString @M32 = "Drⁿcken Sie OK, um mit der Installation fortzufahren."
@Else
@QString @M00 = "The installation does not support"
@QString @M01 = "any version of Windows prior to 3.1 !"
@QString @M10 = "Select with your mouse the board you want to install:"
@QString @M12 = "Completely remove installed software"
@QString @M20 = "Select with your mouse the software you want to install:"
@QString @M22 = "Windows 3.1 driver software"
@QString @M23 = "additional miroWINTOOLS"
@QString @M24 = "miro wallpaper"
@QString @M30 = "Uninstall software:"
@QString @M31 = "The installed software is active and can therfore not be deleted."
@QString @M32 = "Press OK to proceed with the installation"
@EndIf
@EndVars
//*** check windows version ***************************************************
@If (@WindowsMajor < 3 || @WindowsMajor == 3 && @WindowsMinor < 1)
@FlushKeyboard
@Display
@BackGroundMode (3, @Red, @Red)
@Cls
@M00
@M01
@Pause
@Abort
@EndDisplay
@Endif
//*** input board type by user ************************************************
BOARDSELECT:
@GetOption
@DlgCtrlSize (0,4,0,15,50)
@BackGroundMode (3,@Blue, @Blue)
@Cls
@M10
@Option 100 = "miroMAGIC S4 / miroMAGIC S4 + miroVGA"
@Option 101 = "miroRAINBOW Win"
@Option 102 = "miroCRYSTAL 32S"
@Option 103 = "miroCRYSTAL 24S"
@Option 104 = "miroCRYSTAL 16S"
@Option 107 = "miroCRYSTAL 16Si"
@Option 105 = "miroCRYSTAL 8S (1MB)"
@Option 106 = "miroCRYSTAL 8S (2MB)"
@Option 210 = "@M12"
@EndOption
//*** input items to install from user ****************************************
@If (210 [! @Option) // uninstall
@SetOption (200)
@GetOption
@CheckBox
@DlgCtrlSize (0,4,0,8,50)
@BackGroundMode (3,@Blue, @Blue)
@Cls
@M20
@Option 200 = "@M22"
@Option 201 = "@M23"
@Option 202 = "@M24"
@EndOption
@EndIf
//*** Uninstall software ******************************************************
@If (210 [= @Option) // uninstall
@If (@StrFind(@GetINI ("boot", "386grabber", "system.ini"),"octovga") > -1)
@FlushKeyboard
@Display
@M31
@M32
@Pause
@EndDisplay
@ClearOption (210)
@UnInstall = @True
@Goto BOARDSELECT
@Else
@FlushKeyboard
@Display
@M30
@Pause
@EndDisplay
@Delete ("@OutDrive:@wSysDir\\OEMMAGS4.*")
@Delete ("@OutDrive:@wSysDir\\OEMRAIN.*")
@Delete ("@OutDrive:@wSysDir\\OEMCR32S.*")
@Delete ("@OutDrive:@wSysDir\\OEMCR24S.*")
@Delete ("@OutDrive:@wSysDir\\OEMCR16S.*")
@Delete ("@OutDrive:@wSysDir\\OEMC16SI.*")
@Delete ("@OutDrive:@wSysDir\\OEMCR8S.*")
@Delete ("@OutDrive:@wSysDir\\OEMC10SD.*")
@Delete ("@OutDrive:@wSysDir\\OEMC20SD.*")
@Delete ("@OutDrive:@wSysDir\\OEMC20SV.*")
@Delete ("@OutDrive:@wSysDir\\OEMC40SV.*")
@Delete ("@OutDrive:@wSysDir\\OEMMAG40.*")
@Delete ("@OutDrive:@wSysDir\\OEMMAG20.*")
@Delete ("@OutDrive:@wSysDir\\OEMC20TW.*")
@Delete ("@OutDrive:@wSysDir\\OEMBIBO?.*")
@Delete ("@OutDrive:@wSysDir\\MAGS4*.DRV")
@Delete ("@OutDrive:@wSysDir\\RAIN*.DRV")
@Delete ("@OutDrive:@wSysDir\\CR32S*.DRV")
@Delete ("@OutDrive:@wSysDir\\CR24S*.DRV")
@Delete ("@OutDrive:@wSysDir\\CR16S*.DRV")
@Delete ("@OutDrive:@wSysDir\\C16SI*.DRV")
@Delete ("@OutDrive:@wSysDir\\C8S*.DRV")
@Delete ("@OutDrive:@wSysDir\\1SD*.DRV")
@Delete ("@OutDrive:@wSysDir\\C20SD*.DRV")
@Delete ("@OutDrive:@wSysDir\\C20SV*.DRV")
@Delete ("@OutDrive:@wSysDir\\C40SV*.DRV")
@Delete ("@OutDrive:@wSysDir\\M20*.DRV")
@Delete ("@OutDrive:@wSysDir\\M40*.DRV")
@Delete ("@OutDrive:@wSysDir\\TW10*.DRV")
@Delete ("@OutDrive:@wSysDir\\TW20*.DRV")
@Delete ("@OutDrive:@wSysDir\\TWIN.DRV")
@Delete ("@OutDrive:@wSysDir\\OCTO.MON")
@Delete ("@OutDrive:@wSysDir\\OCTOVGA.*")
@Delete ("@OutDrive:@SubDir\\MAGIC_S4.BMP")
@Delete ("@OutDrive:@SubDir\\RAIN_WIN.BMP")
@Delete ("@OutDrive:@SubDir\\CRYS*.BMP")
@Delete ("@OutDrive:@SubDir\\MINFO.TXT")
@Delete ("@OutDrive:@SubDir\\MWINTOOL.INI")
@Delete ("@OutDrive:@SubDir\\MSUP*.*")
@Delete ("@OutDrive:@SubDir\\MONSEL.*")
@Delete ("@OutDrive:@SubDir\\VIRTDLL.DLL")
@Delete ("@OutDrive:@SubDir\\MFONTCOM.EXE")
@Delete ("@OutDrive:@SubDir\\MIROSCOP.EXE")
@Delete ("@OutDrive:@SubDir\\MIROHOOK.DLL")
@Delete ("@OutDrive:@SubDir\\MSCOPE*.HLP")
@Delete ("@OutDrive:@SubDir\\MPWRSAVE.SCR")
@Delete ("@OutDrive:@SubDir\\TWIN*.*")
@Delete ("@OutDrive:@SubDir\\MTINT*.*")
@Delete ("@OutDrive:@SubDir\\MSIZE*.*")
@Delete ("@OutDrive:@SubDir\\WSIZER.*")
@Delete ("@OutDrive:@SubDir\\WADJUST.*")
@Delete ("@OutDrive:@wSysDir\\MIROLOGO.RLE")
@Delete ("@OutDrive:@SubDir\\*.MIR")
@WinExec ("PROGMAN.EXE", 1)
@Display // ???
@ProgramManager ("[ShowGroup (miroWINTOOLS, 2)]")
@Delay = @SystemDate
CLa: @If (@SystemDate - @Delay <= @d) @Goto CLa @EndIf
@ProgramManager ("[DeleteItem (miro SUPERSCREEN)]")
@Delay = @SystemDate
CLb: @If (@SystemDate - @Delay <= @d) @Goto CLb @EndIf
@ProgramManager ("[DeleteItem (miro MONITOR SELECT)]")
@Delay = @SystemDate
CLc: @If (@SystemDate - @Delay <= @d) @Goto CLc @EndIf
@ProgramManager ("[DeleteItem (miroTINT CONTROL)]")
@Delay = @SystemDate
CLd: @If (@SystemDate - @Delay <= @d) @Goto CLd @EndIf
@ProgramManager ("[DeleteItem (miro HOTKEY)]")
@Delay = @SystemDate
CLe: @If (@SystemDate - @Delay <= @d) @Goto CLe @EndIf
@ProgramManager ("[DeleteItem (miro FONTCOMPILER)]")
@Delay = @SystemDate
CLf: @If (@SystemDate - @Delay <= @d) @Goto CLf @EndIf
@ProgramManager ("[DeleteItem (miroSCOPE)]")
@Delay = @SystemDate
CLg: @If (@SystemDate - @Delay <= @d) @Goto CLg @EndIf
@ProgramManager ("[DeleteItem (miroSIZE CALIBRATION)]")
@Delay = @SystemDate
CLh: @If (@SystemDate - @Delay <= @d) @Goto CLh @EndIf
@ProgramManager ("[DeleteItem (miro TWINFACE)]")
@Delay = @SystemDate
CLi: @If (@SystemDate - @Delay <= @d) @Goto CLi @EndIf
@ProgramManager ("[DeleteItem (Information)]")
@Delay = @SystemDate
CLk: @If (@SystemDate - @Delay <= @d) @Goto CLk @EndIf
@ProgramManager ("[DeleteItem (miro PINBOARD)]")
@Delay = @SystemDate
CLl: @If (@SystemDate - @Delay <= @d) @Goto CLl @EndIf
@ProgramManager ("[DeleteItem (miroSCREEN-Adjust)]")
@Delay = @SystemDate
CLj: @If (@SystemDate - @Delay <= @d) @Goto CLj @EndIf
@ProgramManager ("[DeleteGroup (miroWINTOOLS)]")
@Delay = @SystemDate
CLm: @If (@SystemDate - @Delay <= @d) @Goto CLm @EndIf
@EndDisplay
@SetINI ("928.drv", "dpi",, "system.ini")
@SetINI ("928.drv", "Virtual_Size_X",, "system.ini")
@SetINI ("928.drv", "Virtual_Size_Y",, "system.ini")
@SetINI ("928.drv", "Screen_Size_X",, "system.ini")
@SetINI ("928.drv", "Screen_Size_Y",, "system.ini")
@SetINI ("928.drv", "Memory_Size_X",, "system.ini")
@SetINI ("928.drv", "Memory_Size_Y",, "system.ini")
@SetINI ("928.drv", "Pixel_Size",, "system.ini")
@SetINI ("928.drv", "polygon-support",, "system.ini")
@SetINI ("928.drv", "TV",, "system.ini")
@SetINI ("928.drv", "2in1",, "system.ini")
@SetINI ("928.drv", "15BPP",, "system.ini")
@SetINI ("928.drv", "notaus",, "system.ini")
@SetINI ("928.drv", "DRAM",, "system.ini")
@SetINI ("928.drv", "VXPBlt",, "system.ini")
@SetINI ("928.drv", "FIFO",, "system.ini")
@SetINI ("928.drv", "Mon_Data",, "system.ini")
@SetINI ("928.drv", "Mon_Path",, "system.ini")
@SetINI ("928.drv", "MonDesc",, "system.ini")
@SetINI ("928.drv", "BoardDesc",, "system.ini")
@SetINI ("928.drv", "CardID",, "system.ini")
@SetINI ("928.drv", "CardSubID",, "system.ini")
@SetINI ("928.drv", "Font",, "system.ini")
@SetINI ("928.drv", "RAM",, "system.ini")
@SetINI ("928.drv", "PhysBoardNr",, "system.ini")
@SetINI ("928.drv", "SysColors",, "system.ini")
@SetINI ("twinleft.drv", "dpi",, "system.ini")
@SetINI ("twinleft.drv", "Virtual_Size_X",, "system.ini")
@SetINI ("twinleft.drv", "Virtual_Size_Y",, "system.ini")
@SetINI ("twinleft.drv", "Screen_Size_X",, "system.ini")
@SetINI ("twinleft.drv", "Screen_Size_Y",, "system.ini")
@SetINI ("twinleft.drv", "Memory_Size_X",, "system.ini")
@SetINI ("twinleft.drv", "Memory_Size_Y",, "system.ini")
@SetINI ("twinleft.drv", "Pixel_Size",, "system.ini")
@SetINI ("twinleft.drv", "polygon-support",, "system.ini")
@SetINI ("twinleft.drv", "TV",, "system.ini")
@SetINI ("twinleft.drv", "2in1",, "system.ini")
@SetINI ("twinleft.drv", "15BPP",, "system.ini")
@SetINI ("twinleft.drv", "notaus",, "system.ini")
@SetINI ("twinleft.drv", "DRAM",, "system.ini")
@SetINI ("twinleft.drv", "VXPBlt",, "system.ini")
@SetINI ("twinleft.drv", "FIFO",, "system.ini")
@SetINI ("twinleft.drv", "Mon_Data",, "system.ini")
@SetINI ("twinleft.drv", "Mon_Path",, "system.ini")
@SetINI ("twinleft.drv", "MonDesc",, "system.ini")
@SetINI ("twinleft.drv", "BoardDesc",, "system.ini")
@SetINI ("twinleft.drv", "CardID",, "system.ini")
@SetINI ("twinleft.drv", "CardSubID",, "system.ini")
@SetINI ("twinleft.drv", "Font",, "system.ini")
@SetINI ("twinleft.drv", "RAM",, "system.ini")
@SetINI ("twinleft.drv", "PhysBoardNr",, "system.ini")
@SetINI ("twinleft.drv", "SysColors",, "system.ini")
@SetINI ("twinright.drv", "dpi",, "system.ini")
@SetINI ("twinright.drv", "Virtual_Size_X",, "system.ini")
@SetINI ("twinright.drv", "Virtual_Size_Y",, "system.ini")
@SetINI ("twinright.drv", "Screen_Size_X",, "system.ini")
@SetINI ("twinright.drv", "Screen_Size_Y",, "system.ini")
@SetINI ("twinright.drv", "Memory_Size_X",, "system.ini")
@SetINI ("twinright.drv", "Memory_Size_Y",, "system.ini")
@SetINI ("twinright.drv", "Pixel_Size",, "system.ini")
@SetINI ("twinright.drv", "polygon-support",, "system.ini")
@SetINI ("twinright.drv", "TV",, "system.ini")
@SetINI ("twinright.drv", "2in1",, "system.ini")
@SetINI ("twinright.drv", "15BPP",, "system.ini")
@SetINI ("twinright.drv", "notaus",, "system.ini")
@SetINI ("twinright.drv", "DRAM",, "system.ini")
@SetINI ("twinright.drv", "VXPBlt",, "system.ini")
@SetINI ("twinright.drv", "FIFO",, "system.ini")
@SetINI ("twinright.drv", "Mon_Data",, "system.ini")
@SetINI ("twinright.drv", "Mon_Path",, "system.ini")
@SetINI ("twinright.drv", "MonDesc",, "system.ini")
@SetINI ("twinright.drv", "BoardDesc",, "system.ini")
@SetINI ("twinright.drv", "CardID",, "system.ini")
@SetINI ("twinright.drv", "CardSubID",, "system.ini")
@SetINI ("twinright.drv", "Font",, "system.ini")
@SetINI ("twinright.drv", "RAM",, "system.ini")
@SetINI ("twinright.drv", "PhysBoardNr",, "system.ini")
@SetINI ("twinright.drv", "SysColors",, "system.ini")
@SetINI ("boot.description", "displayinf",, "system.ini")
@SetINI ("boot.description", "displayinf2",, "system.ini")
@SetINI ("mboot.description", "displayinf",, "system.ini")
@SetINI ("mboot.description", "displayinf2",, "system.ini")
@SetINI ("mboot.description", "mboot",, "system.ini")
@SetINI ("mboot.description", "f_flag",, "system.ini")
@SetINI ("mboot.description", "boardfam",, "system.ini")
@SetINI ("mboot.description", "displayinf",, "system.ini")
@SetINI ("mboot.description", "resolution",, "system.ini")
@SetINI ("mboot.description", "resolution2",, "system.ini")
@SetINI ("mboot.description", "left",, "system.ini")
@SetINI ("mboot.description", "right",, "system.ini")
@SetINI ("2in1.drv", "driverx1",, "system.ini")
@SetINI ("2in1.drv", "driverx2",, "system.ini")
@SetINI ("2in1.drv", "display1",, "system.ini")
@SetINI ("2in1.drv", "display2",, "system.ini")
@SetINI ("miroSCOPE", "Sensibility",, "win.ini")
@SetINI ("miroSCOPE", "Zoom Factor",, "win.ini")
@SetINI ("miroSCOPE", "Hotkey Number",, "win.ini")
@SetINI ("miroSCOPE", "Window dimensions",, "win.ini")
@SetINI ("miroTWINFACE", "top",, "win.ini")
@SetINI ("miroTWINFACE", "run",, "win.ini")
@SetINI ("miroTWINFACE", "align",, "win.ini")
@SetINI ("miroVIRTUAL", "top",, "win.ini")
@SetINI ("miroVIRTUAL", "run",, "win.ini")
@SetINI ("miroVIRTUAL", "align",, "win.ini")
@SetINI ("TintControl", "SIP_MONTEMP",, "win.ini")
@SetINI ("TintControl", "SIP_COLOR",, "win.ini")
@SetINI ("TintControl", "CLUT",, "win.ini")
@SetINI ("TintControl", "CLUT1",, "win.ini")
@SetINI ("TintControl", "CLUT2",, "win.ini")
@SetINI ("miroSIZE CALIBRATION", "DP100mmX",, "win.ini")
@SetINI ("miroSIZE CALIBRATION", "DP100mmY",, "win.ini")
@SetINI ("miroSIZE CALIBRATION", "HiResMonitorX",, "win.ini")
@SetINI ("miroSIZE CALIBRATION", "HiResMonitorY",, "win.ini")
@SetINI ("Screensaver.miroPOWERSAVE", "VESAMonitors",, "control.ini")
@SetINI ("Screensaver.miroPOWERSAVE", "ResumeAfterPOWERDOWN",, "control.ini")
@SetINI ("Screensaver.miroPOWERSAVE", "TEST_VESAMonitors",, "control.ini")
@SetINI ("Screensaver.miroPOWERSAVE", "StandbyTime",, "control.ini")
@SetINI ("Screensaver.miroPOWERSAVE", "SuspendTime",, "control.ini")
@SetINI ("s3_24.drv", "FontSize",, "system.ini")
@SetINI ("s3_24.drv", "WidthXHeight",, "system.ini")
@merke = @GetINI("Windows", "run","win.ini")
@If (@StrFind("@merke", "@OutDrive:@SubDir\\WSIZER.EXE") > -1)
@merke = @StrDel("@merke", @StrFind("@merke", "@OutDrive:@SubDir\\WSIZER.EXE"),@StrLen("@OutDrive:@SubDir\\WSIZER.EXE "))
@SetINI ("Windows", "run", "@merke", "win.ini")
@EndIf
@ClearOption (210)
@UnInstall = @True
@Goto BOARDSELECT
@EndIf
@EndIf
//*** files to be copied ******************************************************
@If (200 [= @Option // copy if Windows drivers
|| 201 [= @Option) // or miro windows tools
@If ('D' [= @Group)
@Copy ("@InDrive:\\README.DEU","@OutDrive:@SubDir\\MINFO.TXT")
@Else
@Copy ("@InDrive:\\README.ENG","@OutDrive:@SubDir\\MINFO.TXT")
@EndIf
@EndIf
@If (200 [= @Option) // Windows drivers
@DefineDisk
@Label = "High speed drivers for Windows - Install disk # 1/2"
@BeginLib DRIVERS.RED
@File OEMMAGS4.DEU @Size 15000 @Out @wSysDir\\*.INF @Option 100 @Group D
@File OEMMAGS4.ENG @Size 15000 @Out @wSysDir\\*.INF @Option 100 @Group E
@File OEMRAIN.DEU @Size 15000 @Out @wSysDir\\*.INF @Option 101 @Group D
@File OEMRAIN.ENG @Size 15000 @Out @wSysDir\\*.INF @Option 101 @Group E
@File OEMCR32S.DEU @Size 15000 @Out @wSysDir\\*.INF @Option 102 @Group D
@File OEMCR32S.ENG @Size 15000 @Out @wSysDir\\*.INF @Option 102 @Group E
@File OEMCR24S.DEU @Size 10000 @Out @wSysDir\\*.INF @Option 103 @Group D
@File OEMCR24S.ENG @Size 10000 @Out @wSysDir\\*.INF @Option 103 @Group E
@File OEMCR16S.DEU @Size 15000 @Out @wSysDir\\*.INF @Option 104 @Group D
@File OEMCR16S.ENG @Size 15000 @Out @wSysDir\\*.INF @Option 104 @Group E
@File OEMCR8S.DEU @Size 10000 @Out @wSysDir\\*.INF @Option 105 @Group D
@File OEMCR8S.ENG @Size 10000 @Out @wSysDir\\*.INF @Option 105 @Group E
@File OEMCR8S2.DEU @Size 10000 @Out @wSysDir\\OEMCR8S.INF @Option 106 @Group D
@File OEMCR8S2.ENG @Size 10000 @Out @wSysDir\\OEMCR8S.INF @Option 106 @Group E
@File OEMC16SI.DEU @Size 15000 @Out @wSysDir\\*.INF @Option 107 @Group D
@File OEMC16SI.ENG @Size 15000 @Out @wSysDir\\*.INF @Option 107 @Group E
@File OCTMR_08.DRV @Size 160000 @Out @wSysDir\\MAGS4_08.* @Option 100
@File OCTMR_16.DRV @Size 160000 @Out @wSysDir\\MAGS4_15.* @Option 100
@File OCTMR_16.DRV @Size 160000 @Out @wSysDir\\MAGS4_16.* @Option 100
@File OCTMR_32.DRV @Size 160000 @Out @wSysDir\\MAGS4_32.* @Option 100
@File OCTMR_08.DRV @Size 160000 @Out @wSysDir\\RAIN_08.* @Option 101
@File OCTMR_16.DRV @Size 160000 @Out @wSysDir\\RAIN_15.* @Option 101
@File OCTMR_16.DRV @Size 160000 @Out @wSysDir\\RAIN_16.* @Option 101
@File OCTMR_32.DRV @Size 160000 @Out @wSysDir\\RAIN_32.* @Option 101
@File OCTMR_08.DRV @Size 160000 @Out @wSysDir\\CR32S_08.* @Option 102
@File OCTMR_16.DRV @Size 160000 @Out @wSysDir\\CR32S_15.* @Option 102
@File OCTMR_16.DRV @Size 160000 @Out @wSysDir\\CR32S_16.* @Option 102
@File OCTMR_32.DRV @Size 160000 @Out @wSysDir\\CR32S_32.* @Option 102
@File 24SMR_08.DRV @Size 160000 @Out @wSysDir\\CR24S_08.* @Option 103
@File OCTMR_32.DRV @Size 160000 @Out @wSysDir\\CR24S_32.* @Option 103
@File OCTO.MON @Size 65000 @Out @wSysDir\\*.*
// @File VGALOGO.RLE @Size 30000 @Out @wSysDir\\*.*
@File OCTOVGA.2GR @Size 5000 @Out @wSysDir\\*.*
@File OCTOVGA.3GR @Size 15000 @Out @wSysDir\\*.*
@File VDDOCTO.386 @Size 40000 @Out @wSysDir\\*.*
@File VGALOGO.LGO @Size 2000 @Out @wSysDir\\*.*
// @File MAGIC_S4.BMP @Size 80000 @Out *.* @Option 100
// @File RAIN_WIN.BMP @Size 80000 @Out *.* @Option 101
// @File CRYSTAL.BMP @Size 80000 @Out CRYS_32S.* @Option 102
// @File CRYSTAL.BMP @Size 80000 @Out CRYS_24S.* @Option 103
// @File CRYSTAL.BMP @Size 80000 @Out CRYS_16S.* @Option 104
// @File CRYSTAL.BMP @Size 80000 @Out CRYS_08S.* @Option 105
// @File CRYSTAL.BMP @Size 80000 @Out CRYS_08S.* @Option 106
// @File CRYSTAL.BMP @Size 80000 @Out CRYS_16S.* @Option 107
@File 8514FIX.FON @Size 12000 @Out @wSysDir\\*.*
@File 8514OEM.FON @Size 12000 @Out @wSysDir\\*.*
@File 8514SYS.FON @Size 12000 @Out @wSysDir\\*.*
@File CGA40850.FON @Size 6000 @Out @wSysDir\\*.*
@File CGA80850.FON @Size 6000 @Out @wSysDir\\*.*
@File COURF.FON @Size 30000 @Out @wSysDir\\*.*
@File EGA40850.FON @Size 8000 @Out @wSysDir\\*.*
@File EGA80850.FON @Size 8000 @Out @wSysDir\\*.*
@File SERIFF.FON @Size 82000 @Out @wSysDir\\*.*
@File SMALLF.FON @Size 22000 @Out @wSysDir\\*.*
@File SSERIFF.FON @Size 90000 @Out @wSysDir\\*.*
@File SYMBOLF.FON @Size 80000 @Out @wSysDir\\*.*
@EndLib
@EndDisk
@EndIf
@If (202 [= @Option) // miro wallpaper
@DefineDisk
@Label = "High speed drivers for Windows - Install disk # 1/2"
@BeginLib DRIVERS.RED
@File MAGIC_S4.BMP @Size 80000 @Out *.* @Option 100
@File RAIN_WIN.BMP @Size 80000 @Out *.* @Option 101
@File CRYSTAL.BMP @Size 80000 @Out CRYS_32S.* @Option 102
@File CRYSTAL.BMP @Size 80000 @Out CRYS_24S.* @Option 103
@File CRYSTAL.BMP @Size 80000 @Out CRYS_16S.* @Option 104
@File CRYSTAL.BMP @Size 80000 @Out CRYS_08S.* @Option 105
@File CRYSTAL.BMP @Size 80000 @Out CRYS_08S.* @Option 106
@File CRYSTAL.BMP @Size 80000 @Out CRYS_16S.* @Option 107
@EndLib
@EndDisk
@EndIf
@If (200 [= @Option) // Windows drivers
@DefineDisk
@If (@IsFloppy)
@Label = "High speed drivers for Windows - Install disk # 2/2"
@Else
@Label = "High speed drivers for Windows - Install disk # 1/2"
@EndIf
@BeginLib DRIVERS2.RED
@File 16SMR_08.DRV @Size 160000 @Out @wSysDir\\CR16S_08.* @Option 104
@File 16SMR_16.DRV @Size 160000 @Out @wSysDir\\CR16S_15.* @Option 104
@File 16SMR_16.DRV @Size 160000 @Out @wSysDir\\CR16S_16.* @Option 104
@File 16SMR_32.DRV @Size 160000 @Out @wSysDir\\CR16S_32.* @Option 104
@File C8S06_16.DRV @Size 160000 @Out @wSysDir\\C8S06_15.* @Option 105
@File C8S06_16.DRV @Size 160000 @Out @wSysDir\\*.* @Option 105
@File C8S06_24.DRV @Size 160000 @Out @wSysDir\\*.* @Option 105
@File C8S08_16.DRV @Size 160000 @Out @wSysDir\\C8S08_15.* @Option 105
@File C8S08_16.DRV @Size 160000 @Out @wSysDir\\*.* @Option 105
@File C8S12_04.DRV @Size 160000 @Out @wSysDir\\*.* @Option 105
@File C8SMR_08.DRV @Size 160000 @Out @wSysDir\\*.* @Option 105
@File C8S06_16.DRV @Size 160000 @Out @wSysDir\\C8S06_15.* @Option 106
@File C8S06_16.DRV @Size 160000 @Out @wSysDir\\*.* @Option 106
@File C8S06_24.DRV @Size 110000 @Out @wSysDir\\*.* @Option 106
@File C8S08_16.DRV @Size 160000 @Out @wSysDir\\C8S08_15.* @Option 106
@File C8S08_16.DRV @Size 160000 @Out @wSysDir\\*.* @Option 106
@File C8S12_04.DRV @Size 160000 @Out @wSysDir\\*.* @Option 106
@File 16SMR_08.DRV @Size 160000 @Out @wSysDir\\C8S12_08.* @Option 106
@File 16SMR_08.DRV @Size 160000 @Out @wSysDir\\C16SI_08.* @Option 107
@File 16SMR_16.DRV @Size 160000 @Out @wSysDir\\C16SI_15.* @Option 107
@File 16SMR_16.DRV @Size 160000 @Out @wSysDir\\C16SI_16.* @Option 107
@File 16SMR_32.DRV @Size 160000 @Out @wSysDir\\C16SI_32.* @Option 107
@EndLib
@EndDisk
@EndIf
@If (200 [= @Option // copy if Windows drivers
|| 201 [= @Option) // or miro windows tools
@DefineDisk
@If (@IsFloppy)
@Label = "High speed drivers for Windows - Install disk # 2/2"
@Else
@Label = "High speed drivers for Windows - Install disk # 1/2"
@EndIf
@BeginLib MWINTOOL.RED
@File MWINTOOL.DEU @Size 15000 @Out *.INI @Group D
@File MWINTOOL.ENG @Size 15000 @Out *.INI @Group E
@File MONSEL.EXE @Size 100000 @Out *.*
@File MONSEL.DEU @Size 34000 @Out *.HLP @Group D
@File MONSEL.ENG @Size 33000 @Out *.HLP @Group E
@File MSUPSCRN.EXE @Size 90000 @Out *.*
@File MSUP.DEU @Size 26000 @Out *.HLP @Group D
@File MSUP.ENG @Size 25000 @Out *.HLP @Group E
@File MSUPVIRT.EXE @Size 20000 @Out *.*
@File VIRTDLL.DLL @Size 10000 @Out *.*
@File MSUPVIR.DEU @Size 10000 @Out *.HLP @Group D
@File MSUPVIR.ENG @Size 10000 @Out *.HLP @Group E
@File MSUPHOT.EXE @Size 20000 @Out *.*
@File MSUPSCRD.DLL @Size 3000 @Out *.*
@File MPWRSAVE.SCR @Size 35000 @Out *.*
@File MTINT.EXE @Size 95000 @Out *.*
@File MTINTDEU.HLP @Size 45000 @Out MTINT.HLP @Group D
@File MTINTENG.HLP @Size 45000 @Out MTINT.HLP @Group E
@File MTINTDEU.INI @Size 2500 @Out MTINT.INI @Group D
@File MTINTENG.INI @Size 2500 @Out MTINT.INI @Group E
// @File WSIZER.EXE @Size 120000 @Out *.*
// @File WSIZER.INI @Size 2000 @Out *.*
// @File WSIZER.HLP @Size 8000 @Out *.* @Group D
// @File WSIZER_E.HLP @Size 8000 @Out WSIZER.* @Group E
// @File WADJUST.EXE @Size 82000 @Out *.*
// @File WADJUST.INI @Size 3000 @Out *.*
@EndLib
@EndDisk
@EndIf
@If (201 [= @Option) // miro windows tools
@DefineDisk
@If (@IsFloppy)
@Label = "High speed drivers for Windows - Install disk # 2/2"
@Else
@Label = "High speed drivers for Windows - Install disk # 1/2"
@EndIf
@BeginLib MWINTOOL.RED
@File MFONTCOM.EXE @Size 85000 @Out *.*
@File MIROSCOP.EXE @Size 100000 @Out *.*
@File MIROHOOK.DLL @Size 5000 @Out *.*
@File MSCOPE.DEU @Size 55000 @Out *0.HLP @Group D
@File MSCOPE.ENG @Size 55000 @Out *0.HLP @Group E
@File MSIZER.EXE @Size 35000 @Out *.*
@EndLib
@EndDisk
@EndIf
//*** set variables in .INI files *********************************************
@If (200 [= @Option) // Windows drivers
@SetINI ("boot.description", "displayinf2",, "system.ini")
@SetINI ("mboot.description", "displayinf2",, "system.ini")
@SetINI ("mboot.description", "mboot","1", "system.ini")
@SetINI ("928.drv", "2in1",, "system.ini")
@SetINI ("928.drv", "Mon_Data", "@OutDrive:@wSysDir\\octo.mon", "system.ini")
@If (@fflag == 1)
@SetINI ("mboot.description", "f_flag", "ON", "system.ini")
@Else
@SetINI ("mboot.description", "f_flag",, "system.ini")
@EndIf
@SetINI ("mboot.description", "boardfam","OCTO", "system.ini")
@If (100 [= @Option)
@SetINI ("mboot.description", "displayinf", "OEMMAGS4.INF", "system.ini")
@EndIf
@If (101 [= @Option)
@SetINI ("mboot.description", "displayinf", "OEMRAIN.INF", "system.ini")
@EndIf
@If (102 [= @Option)
@SetINI ("mboot.description", "displayinf", "OEMCR32S.INF", "system.ini")
@EndIf
@If (103 [= @Option)
@SetINI ("mboot.description", "displayinf", "OEMCR24S.INF", "system.ini")
@EndIf
@If (104 [= @Option)
@SetINI ("mboot.description", "displayinf", "OEMCR16S.INF", "system.ini")
@EndIf
@If (105 [= @Option || 106 [= @Option)
@SetINI ("mboot.description", "displayinf", "OEMCR8S.INF", "system.ini")
@EndIf
@If (107 [= @Option)
@SetINI ("mboot.description", "displayinf", "OEMC16SI.INF", "system.ini")
@EndIf
// @merke = @GetINI("Windows", "run", "win.ini")
// @If ( (@StrFind("@merke", "wsizer") < 0)
// && (@StrFind("@merke", "WSIZER") < 0))
// @SetINI ("Windows", "run", "@OutDrive:@SubDir\\WSIZER.EXE @merke", "win.ini" )
// @EndIf
@EndIf
@If (200 [= @Option // copy if Windows drivers
|| 201 [= @Option) // or miro windows tools
@If (101 [= @Option || 102 [= @Option || 103 [= @Option
|| 104 [= @Option)
@SetINI ("TintControl", "CLUT1", "BT485", "win.ini")
@SetINI ("TintControl", "CLUT2",, "win.ini")
@EndIf
@If (100 [= @Option)
@SetINI ("TintControl", "CLUT1", "BT485", "win.ini")
@SetINI ("TintControl", "CLUT2", "BT485", "win.ini")
@EndIf
@If (105 [= @Option || 106 [= @Option || 107 [= @Option)
@SetINI ("TintControl", "CLUT1", " ", "win.ini")
@SetINI ("TintControl", "CLUT2",, "win.ini")
@EndIf
@EndIf
@If (202 [= @Option) // miro wallpaper
@SetINI ("Desktop", "TileWallpaper", "1", "win.ini")
@If (100 [= @Option)
@SetINI ("Desktop", "Wallpaper", "magic_s4.bmp", "win.ini")
@EndIf
@If (101 [= @Option)
@SetINI ("Desktop", "Wallpaper", "rain_win.bmp", "win.ini")
@EndIf
@If (102 [= @Option)
@SetINI ("Desktop", "Wallpaper", "crys_32s.bmp", "win.ini")
@EndIf
@If (103 [= @Option)
@SetINI ("Desktop", "Wallpaper", "crys_24s.bmp", "win.ini")
@EndIf
@If (104 [= @Option)
@SetINI ("Desktop", "Wallpaper", "crys_16s.bmp", "win.ini")
@EndIf
@If (105 [= @Option || 106 [= @Option)
@SetINI ("Desktop", "Wallpaper", "crys_08s.bmp", "win.ini")
@EndIf
@If (107 [= @Option)
@SetINI ("Desktop", "Wallpaper", "crys_16s.bmp", "win.ini")
@EndIf
@EndIf
//*** old software to be deleted **********************************************
@If (200 [= @Option || 201 [= @Option)
@Delete ("@OutDrive:@wSysDir\\MAGS4T??.DRV")
@Delete ("@OutDrive:@wSysDir\\RAINT??.DRV")
@Delete ("@OutDrive:@wSysDir\\MIROLOGO.RLE")
@Delete ("@OutDrive:@SubDir\\*.MIR")
@Delete ("@OutDrive:@SubDir\\MSUP?.HLP")
@Delete ("@OutDrive:@SubDir\\MSUPVIR?.HLP")
@Delete ("@OutDrive:@SubDir\\MSCOPE1.HLP")
@Delete ("@OutDrive:@SubDir\\MSCOPE2.HLP")
@Delete ("@OutDrive:@SubDir\\MSCOPE3.HLP")
@Delete ("@OutDrive:@SubDir\\MSCOPE4.HLP")
@Delete ("@OutDrive:@SubDir\\MTINTRUN.EXE")
@merke = @GetINI("Windows", "run","win.ini")
@If (@StrFind("@merke", "@OutDrive:@SubDir\\WSIZER.EXE") > -1)
@merke = @StrDel("@merke", @StrFind("@merke", "@OutDrive:@SubDir\\WSIZER.EXE"),@StrLen("@OutDrive:@SubDir\\WSIZER.EXE "))
@SetINI ("Windows", "run", "@merke", "win.ini")
@EndIf
@EndIf
@If (200 [= @Option && @DirExists ("@OutDrive:@SubDir\\SYSTEM"))
@Delete ("@OutDrive:@SubDir\\OEMMAGS4.*")
@Delete ("@OutDrive:@SubDir\\OEMRAIN.*")
@Delete ("@OutDrive:@SubDir\\OEMCR32S.*")
@Delete ("@OutDrive:@SubDir\\OEMCR24S.*")
@Delete ("@OutDrive:@SubDir\\OEMCR16S.*")
@Delete ("@OutDrive:@SubDir\\OEMC16SI.*")
@Delete ("@OutDrive:@SubDir\\OEMCR8S.*")
@EndIf
//*** project trailer block ***************************************************
@Finish
@BackGroundMode (3,@Blue, @Blue)
@WinExec ("PROGMAN.EXE", 1)
@If (200 [= @Option || 201 [= @Option)
@ProgramManager ("[CreateGroup (miroWINTOOLS, MWINTOOL.GRP)]")
@Delay = @SystemDate
La: @If (@SystemDate - @Delay <= @d) @Goto La @EndIf
@ProgramManager ("[ReplaceItem (miro SUPERSCREEN)]")
@Delay = @SystemDate
Lb: @If (@SystemDate - @Delay <= @d) @Goto Lb @EndIf
@ProgramManager ("[AddItem (@OutDrive:@SubDir\\MSUPSCRN.EXE, miro SUPERSCREEN)]")
@Delay = @SystemDate
Lc: @If (@SystemDate - @Delay <= @d) @Goto Lc @EndIf
@ProgramManager ("[ReplaceItem (miro MONITOR SELECT)]")
@Delay = @SystemDate
Ld: @If (@SystemDate - @Delay <= @d) @Goto Ld @EndIf
@ProgramManager ("[AddItem (@OutDrive:@SubDir\\MONSEL.EXE, miro MONITOR SELECT)]")
@Delay = @SystemDate
Le: @If (@SystemDate - @Delay <= @d) @Goto Le @EndIf
@ProgramManager ("[ReplaceItem (miroTINT CONTROL)]")
@Delay = @SystemDate
Lf: @If (@SystemDate - @Delay <= @d) @Goto Lf @EndIf
@ProgramManager ("[AddItem (@OutDrive:@SubDir\\MTINT.EXE, miroTINT CONTROL)]")
@Delay = @SystemDate
Lg: @If (@SystemDate - @Delay <= @d) @Goto Lg @EndIf
@ProgramManager ("[ReplaceItem (miro HOTKEY)]")
@Delay = @SystemDate
Lh: @If (@SystemDate - @Delay <= @d) @Goto Lh @EndIf
@ProgramManager ("[AddItem (@OutDrive:@SubDir\\MSUPHOT.EXE, miro HOTKEY)]")
@Delay = @SystemDate
//Lu: @If (@SystemDate - @Delay <= @d) @Goto Lu @EndIf
// @ProgramManager ("[ReplaceItem (miro PINBOARD)]")
// @Delay = @SystemDate
//Lv: @If (@SystemDate - @Delay <= @d) @Goto Lv @EndIf
// @ProgramManager ("[AddItem (@OutDrive:@SubDir\\WSIZER.EXE, miro PINBOARD)]")
// @Delay = @SystemDate
//Lw: @If (@SystemDate - @Delay <= @d) @Goto Lw @EndIf
// @ProgramManager ("[ReplaceItem (miroSCREEN-Adjust)]")
// @Delay = @SystemDate
//Lx: @If (@SystemDate - @Delay <= @d) @Goto Lx @EndIf
// @ProgramManager ("[AddItem (@OutDrive:@SubDir\\WADJUST.EXE, miroSCREEN-Adjust)]")
// @Delay = @SystemDate
Li: @If (@SystemDate - @Delay <= @d) @Goto Li @EndIf
@If (201 [= @Option) // miro windows tools
@ProgramManager ("[ReplaceItem (miro FONTCOMPILER)]")
@Delay = @SystemDate
Lj: @If (@SystemDate - @Delay <= @d) @Goto Lj @EndIf
@ProgramManager ("[AddItem (@OutDrive:@SubDir\\MFONTCOM.EXE, miro FONTCOMPILER)]")
@Delay = @SystemDate
Lk: @If (@SystemDate - @Delay <= @d) @Goto Lk @EndIf
@ProgramManager ("[ReplaceItem (miroSCOPE)]")
@Delay = @SystemDate
Ll: @If (@SystemDate - @Delay <= @d) @Goto Ll @EndIf
@ProgramManager ("[AddItem (@OutDrive:@SubDir\\MIROSCOP.EXE, miroSCOPE)]")
@Delay = @SystemDate
Lm: @If (@SystemDate - @Delay <= @d) @Goto Lm @EndIf
@ProgramManager ("[ReplaceItem (miroSIZE CALIBRATION)]")
@Delay = @SystemDate
Ln: @If (@SystemDate - @Delay <= @d) @Goto Ln @EndIf
@ProgramManager ("[AddItem (@OutDrive:@SubDir\\MSIZER.EXE, miroSIZE CALIBRATION)]")
@Delay = @SystemDate
Lo: @If (@SystemDate - @Delay <= @d) @Goto Lo @EndIf
@EndIf
@ProgramManager ("[DeleteItem (miro TWINFACE)]")
@Delay = @SystemDate
Lq: @If (@SystemDate - @Delay <= @d) @Goto Lq @EndIf
@ProgramManager ("[ReplaceItem (Information)]")
@Delay = @SystemDate
Lr: @If (@SystemDate - @Delay <= @d) @Goto Lr @EndIf
@ProgramManager ("[AddItem (NOTEPAD minfo.txt, Information, MONSEL.EXE, 1)]")
@Delay = @SystemDate
Ls: @If (@SystemDate - @Delay <= @d) @Goto Ls @EndIf
@ProgramManager ("[ShowGroup (miroWINTOOLS, 1)]")
@Delay = @SystemDate
Lt: @If (@SystemDate - @Delay <= @d) @Goto Lt @EndIf
@EndIf
// @If (200 [= @Option || 201 [= @Option)
// @If ('D' [= @Group)
// @SetINI ("Language", "Language","Deutsch", "wsizer.ini")
// @SetINI ("Language", "Language","Deutsch", "wadjust.ini")
// @EndIf
// @If ('E' [= @Group)
// @SetINI ("Language", "Language","English", "wsizer.ini")
// @SetINI ("Language", "Language","English", "wadjust.ini")
// @EndIf
// @EndIf
@ChDrive (@WindowsDrive)
@ChDir ("@WindowsDir")
@If (200 [= @Option) // Windows drivers
@ReturnValue (4711)
@WinExec ("@OutDrive:@SubDir\\MONSEL.EXE", 1)
@EndIf
@EndFinish
//*** eof *********************************************************************